const request = require("../utils/request");
const path = "/api/v1/customer";
const GetAddress = (data: any) => request("get", path + "/address/s", data);
const GetAddressId = (data: any) =>
  request("get", path + "/address" + data.id, data);
const PostAddress = (data: any) => request("post", path + "/address", data);
const PutAddressId = (data: any) =>
  request("put", path + "/address" + data.id, data);
const DelAddressId = (data: any) =>
  request("DELETE", path + "/address/" + data.id, data);
export { GetAddress, GetAddressId, PostAddress, PutAddressId, DelAddressId };
